package controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import fwk.Controller;
import fwk.ModelAndView;

public class LoginController implements Controller {

	@Override
	public ModelAndView handle(HttpServletRequest req, HttpServletResponse resp)
			throws Exception {
		System.out.println("login.....");
		Map<String, Object> mp=new HashMap<String, Object>();
		mp.put("uname", "Hello!!!!");
		return new ModelAndView("suc.jsp", mp);
	}

}
